package com.esms.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Contract entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Contract implements java.io.Serializable {

	// Fields

	private Integer contractId;
	private Enterprise enterprise;
	private String contact;
	private String contactNumber;
	private String contractAmount;
	private Date starteddate;
	private Date duedate;
	private String status;
	private Double progress;
	private Set persons = new HashSet(0);
	private Set persons_1 = new HashSet(0);

	// Constructors

	/** default constructor */
	public Contract() {
	}

	/** minimal constructor */
	public Contract(Enterprise enterprise, String contractAmount) {
		this.enterprise = enterprise;
		this.contractAmount = contractAmount;
	}

	/** full constructor */
	public Contract(Enterprise enterprise, String contact,
			String contactNumber, String contractAmount, Date starteddate,
			Date duedate, String status, Double progress, Set persons,
			Set persons_1) {
		this.enterprise = enterprise;
		this.contact = contact;
		this.contactNumber = contactNumber;
		this.contractAmount = contractAmount;
		this.starteddate = starteddate;
		this.duedate = duedate;
		this.status = status;
		this.progress = progress;
		this.persons = persons;
		this.persons_1 = persons_1;
	}

	// Property accessors

	public Integer getContractId() {
		return this.contractId;
	}

	public void setContractId(Integer contractId) {
		this.contractId = contractId;
	}

	public Enterprise getEnterprise() {
		return this.enterprise;
	}

	public void setEnterprise(Enterprise enterprise) {
		this.enterprise = enterprise;
	}

	public String getContact() {
		return this.contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getContactNumber() {
		return this.contactNumber;
	}

	public void setContactNumber(String contactNumber) {
		this.contactNumber = contactNumber;
	}

	public String getContractAmount() {
		return this.contractAmount;
	}

	public void setContractAmount(String contractAmount) {
		this.contractAmount = contractAmount;
	}

	public Date getStarteddate() {
		return this.starteddate;
	}

	public void setStarteddate(Date starteddate) {
		this.starteddate = starteddate;
	}

	public Date getDuedate() {
		return this.duedate;
	}

	public void setDuedate(Date duedate) {
		this.duedate = duedate;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Double getProgress() {
		return this.progress;
	}

	public void setProgress(Double progress) {
		this.progress = progress;
	}

	public Set getPersons() {
		return this.persons;
	}

	public void setPersons(Set persons) {
		this.persons = persons;
	}

	public Set getPersons_1() {
		return this.persons_1;
	}

	public void setPersons_1(Set persons_1) {
		this.persons_1 = persons_1;
	}

}